import { MockMethod } from "vite-plugin-mock";

export default [
  {
    url: "/getproductList",
    method: "post",
    response: () => {
      return {
        success: true,
        data: {
          list: [
            {
              // index: 1,
              created_at: "2023/5/4",
              order_type: "normal",
              company: "北京理工大学",
              name: "王威威",
              isSetup: true,
              status: "已完成",
              note: "用来进行测试，看一下界面效果如何"
              // type: 4,
              // banner: "https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",
              // name: "SSL证书",
              // description:
              //   "SSL证书又叫服务器证书，腾讯云为您提供证书的一站式服务，包括免费、付费证书的申请、管理及部"
            },
            {
              created_at: "2023/5/4",
              order_type: "urgent",
              company: "北京理工大学",
              name: "王威威",
              isSetup: true,
              status: "等待中",
              note: null
            },
            {
              created_at: "2023/5/4",
              order_type: "special",
              company: "北京理工大学",
              name: "王威威",
              isSetup: true,
              status: "生产中",
              note: null
            }
          ]
        }
      };
    }
  }
] as MockMethod[];
